package com.github.kezhenxu94.playground.java.miscellaneous;

import java.util.ArrayList;
import java.util.List;

public class HeapOOM {

	public static void main(final String[] args) {
		final List<HeapOOM> list = new ArrayList<>();
		while (true) {
			list.add(new HeapOOM());
		}
	}
}
